﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ZOS.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        public ActionResult Index()
        {
            return View();
        }

		/// <summary>
		/// 中舒公司介绍
		/// </summary>
		/// <returns></returns>
		public ActionResult About()
		{
			ViewBag.Title = "公司介绍";
			ViewBag.Class = "page-about";
			ViewBag.About = true;
			ViewBag.Banner = "banner-about";
			return View();
		}

		/// <summary>
		/// 公司新闻
		/// </summary>
		/// <returns></returns>
		public ActionResult News()
		{
			ViewBag.Title = "公司新闻";
			ViewBag.Class = "page-news";
			ViewBag.News = true;
			ViewBag.Banner = "banner-news";
			return View();
		}

		/// <summary>
		/// 产品展示
		/// </summary>
		/// <returns></returns>
		public ActionResult Product()
		{
			ViewBag.Title = "产品展示";
			ViewBag.Class = "page-about";
			ViewBag.Product = true;
			ViewBag.Banner = "banner-product";
			return View();
		}

		/// <summary>
		/// 产品介绍
		/// </summary>
		/// <returns></returns>
		public ActionResult ProductDetail()
		{
			ViewBag.Title = "产品介绍";
			ViewBag.Class = "page-product";
			ViewBag.Product = true;
			ViewBag.Banner = "banner-product";
			return View();
		}

        /// <summary>
        /// 客户案例
        /// </summary>
        /// <returns></returns>
        public ActionResult Solution()
        {
            ViewBag.Title = "客户案例";
            ViewBag.Class = "page-solution";
            ViewBag.Solution = true;
            ViewBag.Banner = "banner-solution";
            return View();
        }

        /// <summary>
        /// 工厂展厅
        /// </summary>
        /// <returns></returns>
        public ActionResult Show()
        {
            ViewBag.Title = "工厂展厅";
            ViewBag.Class = "page-show";
            ViewBag.Show = true;
            ViewBag.Banner = "banner-show";
            return View();
        }

        /// <summary>
        /// 联系我们
        /// </summary>
        /// <returns></returns>
        public ActionResult Contact()
        {
            ViewBag.Title = "联系我们";
            ViewBag.Class = "page-contact";
            ViewBag.Contact = true;
            ViewBag.Banner = "banner-contact";
            return View();
        }
    }
}
